package com.augurit.gzcgwsp.sendNotice.service;

import java.io.IOException;
import java.util.Date;
import java.util.List;
import java.util.Map;
import com.augurit.gzcgwsp.ssgd.web.form.YwRqSsgdSqbForm;
import com.augurit.wf.bi.web.form.WfBusInstanceTaskForm;

public interface ICreateNoticeCommonPartService {	
	/**
	 * 产生案件公示表html文件
	 * @param YwRqSsgdSqbForm
	 * @return 
	 */
	public void createHtml(YwRqSsgdSqbForm ywRqSsgdSqbForm) throws IOException;
	
	//---------------------------------------------------------------------------公共部分
	/**
	 * 获取审批的状态
	 * @return 状态status
	 */
	public String getStatus(String thisNoteActivityName);
	
	
	/**
	 * 产生通知的公共部分
	 * @param noticeLabelMap 标签的键值map
	 * @return 公共部分的字符串 para
	 */
	public String createNotice(Map<String, String> noticeLabelMap);
	
	/**
	 * 产生结束公示的 字符串
	 * @param acceptNo
	 * @return 结束公示的 字符串 para
	 */
	public String createStopPublicXMLString(String acceptNo) ;
	
	
	/**
	 * 发送设施改动通知书 2
	 * @param YwRqSsgdSqbForm ywRqSsgdSqbForm
	 * @param WfBusInstanceTaskForm instance
	 * @param loginUserName
	 * @param dpm
	 */
	public void sendNotice2(Map<String,String> map);
	
	/**
	 * 获得webservice所需要的参数
	 * @return
	 */
	public List getWebServicePara();
	
	/**
	 * 通知书标签与值对应map  公共方法
	 * @param approvalNo                      	预受理号,必填
	 * @param acceptNo                        	受理号,必填
	 * @param businessCode					  	业务代码，必填
	 * @param sqdw								申请单位，必填
	 * @param cbyw								承办业务，必填
	 * @param task								WfBusInstanceTaskForm
	 * @param loginUserName						登录用户名
	 * @param dpm								部门
	 * @param thisNoteActivityName				
	 * @param thisNoteActivityChineseName		受理状态(参见附录),必填
	 * @param notice							受理通知书字段，xml格式
	 * @param acceptTime						受理时间
	 * @return  map
	 */
	public Map<String, String> getCommonNoticeLabel(String approvalNo,String acceptNo,String businessCode,String sqdw, String cbyw,
			WfBusInstanceTaskForm task, String loginUserName, String dpm, String thisNoteActivityName,String thisNoteActivityChineseName, String notice,Date acceptTime);
}
